<?php
require_once "../lib/selida.php";
$pektis = Globals::is_pektis();

Selida::head();
Selida::javascript("account/account");
Selida::stylesheet("account/account");

Selida::body();
Selida::toolbar();
Selida::fyiPano();
Selida::basiPano();
?>
<form id="forma" class="forma" onsubmit="return Account.submit(this);" action="<?php
	print Globals::$server; ?>index.php" target="_self" method="get">
	<div class="formaSoma">
		<div class="formaTitlos"></div>
		<table>
		<tr>
			<td class="formaPrompt">Login</td>
			<td class="formaPedio">
				<input name="login" type="text" maxlength="64" size="32" />
			</td>
		</tr>
		<tr>
			<td class="formaPrompt">Ονοματεπώνυμο</td>
			<td class="formaPedio">
				<input name="onoma" type="text" maxlength="128" size="60" />
			</td>
		</tr>
		<tr>
			<td class="formaPrompt">Email</td>
			<td class="formaPedio">
				<input name="email" type="text" maxlength="128" size="60" />
			</td>
		</tr>
		<tr id="kodikos1">
			<td class="formaPrompt">
				<?php print $pektis ? "Νέος κωδικός" : "Κωδικός"; ?>
			</td>
			<td class="formaPedio">
				<input name="kodikos1" type="password" maxlength="128" size="32" value="" />
			</td>
		</tr>
		<tr id="kodikos2">
			<td class="formaPrompt">Επανάληψη</td>
			<td class="formaPedio">
				<input name="kodikos2" type="password" maxlength="128" size="32" value="" />
			</td>
		</tr>
		<tr id="kodikos">
			<td class="formaPrompt">Τρέχων κωδικός</td>
			<td class="formaPedio">
				<input name="kodikos" type="password" maxlength="128" size="32" value="" />
				<input name="reload" type="hidden" value="<?php if (Globals::perastike("reload"))
					print $_REQUEST["reload"]; ?>" />
			</td>
		</tr>
		<tr id="alagiKodikos">
			<td class="formaPrompt"><a href="#"
				onclick="return Account.alagiKodikos();">Αλλαγή κωδικού</a></td>
		</tr>
		</table>
	</div>
	<div class="formaPanel">
		<input type="submit" value="<?php print $pektis ? "Ενημέρωση" : "Εγγραφή"; ?>" />
		<input type="reset" value="Καθαρισμός" />
		<input type="button" value="<?php print Globals::perastike("iposelida") ?
			"Άκυρο" : "Κλείσιμο"; ?>" onclick="window.self.close();" />
	</div>
</form>
<?php
Selida::basiKato();
Selida::fyiKato();
Selida::ribbon();
Selida::telos();
?>
